package com.qdu.mapper;

import com.qdu.entity.Commentinfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CommentinfoMapper {
    int deleteByPrimaryKey(String cid);

    int insert(Commentinfo record);

    int insertSelective(Commentinfo record);

    List<Commentinfo> selectByUid(String uid);

    List<Commentinfo> selectByHid(String hid);

    Commentinfo selectByCid(String cid);

    int updateByPrimaryKeySelective(Commentinfo record);

    int updateByPrimaryKey(Commentinfo record);

}